﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using Volo.Abp;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Vouchers
{
    [Comment("消耗单明细")]
    [Table("t_consumevoucherdetail")]
    [Index(nameof(VoucherCode))]
    public class ConsumeVoucherDetail : VoucherDetailBase
    {
        public ConsumeVoucherDetail(Guid keyId)

        {
            this.Id = keyId;
        }

        public ConsumeVoucherDetail()
        {

        }
        [Comment("条形码")]
        [MaxLength(200)]
        public string BarCode { get; set; }


        [Comment("UDI编码")]
        [MaxLength(200)]
        public string UdiCode { get; set; }
        [Comment("高值唯一码")]
        [MaxLength(200)]
        public string OnlyBarCode { get; set; }

        [Comment("his计费id")]
        [MaxLength(200)]
        public string HisChargeId { get; set; }

    }
}
